package cn.ncupyh.ToolClass;

public class ToolTest {
    public static void main(String[] args) {
        //测试工具类中的两个方法
        int[] arr = {1,2,3,4,5};
        String arr1 = ToolUtil.printArr(arr);
        double average = ToolUtil.getAverage(arr);
        System.out.println("数组:" + arr1 + ",平均值为:" + average);
    }
}
